home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-08-23 | 1.1 KB | 54 lines |
- #
- # makefile for ccs-lib/tools/convert
- #
-
- PGMS = totiff.out tovida.out to3dplot.out
- # toicc.out toraw_sep.out
- PGM5 = color_ps.out headers.out torle.out
-
- PUBLICLIB = -lccs -ltiff -lrle $(LIBRARY) $(OTHERLIBS)
- LIBRARIES = $(LDFLAGS) -lscs4 $(PUBLICLIB)
- LIBRARIE5 = $(LDFLAGS) -lscs5 $(PUBLICLIB) -ljpeg
- LIBRARIE6 = $(LDFLAGS) -lscs6 $(PUBLICLIB) -ljpeg -lpixrect
- CPPFLAGS2 = $(CPPFLAGS) -I$(CCS_ROOT)/include
-
- .c.out:
- $(LINKc) $* $< $(LIBRARIES) $(CPPFLAGS2) -DCOMMON_TOOL
- mv $* $(DESTDIR)
- @touch $@
-
- install: $(PGMS) $(PGM5)
-
-
- # Routines which require special parameters
-
- $(PGM5):
- $(LINKc) $* $< $(LIBRARIE5) $(CPPFLAGS2) -DCOMMON_TOOL
- mv $* $(DESTDIR)
- @touch $@
-
- toraw_sep.out:
- @echo "toicc -w" > $(DESTDIR)/toraw_sep
- @chmod 775 $(DESTDIR)/toraw_sep
- @touch $@
-
- tohips.out:
- @if test ! -f $(DESTDIR)/tohips; then \
- ln -s $(DESTDIR)/powertool $(DESTDIR)/tohips; \
- else if test ! -h $(DESTDIR)/tohips; then \
- rm -f $(DESTDIR)/tohips; \
- ln -s $(DESTDIR)/powertool $(DESTDIR)/tohips; fi; \
- fi;
- @touch $@
-
- clean: clean-pgm
- clean-all: clean_all
-
- man:
-
- doc:
-
- pristine: pristine-pgm
-
- FRC:
-